﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NCP.Infrastructure.Common.Domain;
using NCP.Recruiting.Domain.Aggregates.Resumes;
using NCP.Recruiting.Domain.Aggregates.Tags;
using NCP.Recruiting.Domain.Aggregates.Jobpositions;

namespace NCP.Recruiting.Domain.Aggregates.Candidates {
    public class Candidate : Entity {
        public Guid? JobPositionId { get; set; }
        public string Department { get; set; }
        public Guid ResumeId { get; set; }
        public string Salary { get; set; }
        public string Welfare { get; set; }
        public string CoverLetter { get; set; }
        public Guid? TagId { get; set; }
        public string Remark { get; set; }

        public bool? IsReplied { get; set; }
        public bool? IsMarked { get; set; }

        public int Source { get; set; }
        public DateTime? DateSaved { get; set; }
        public DateTime? DateReviewed { get; set; }
        
        public int Status { get; set; }

        public Guid CompanyId { get; set; }
        public bool Deleted { get; set; }
        public DateTime DateCreated { get; set; }
        public DateTime LastUpdated { get; set; }

        public virtual Tag Tag { get; set; }
        public virtual JobPosition Jobposition { get; set; }
        public virtual Resume Resume { get; set; }
    }
}
